// 自动生成模板PmsCategoryBrandRelation
package biz

import "github.com/go-kratos/kratos/v2/log"

// pmsCategoryBrandRelation表 结构体  PmsCategoryBrandRelation
type PmsCategoryBrandRelation struct {
	Id          *int    `json:"id" form:"id" gorm:"primarykey;column:id;size:19;"`                         //id字段
	BrandId     *int    `json:"brandId" form:"brandId" gorm:"comment:品牌id;column:brand_id;size:19;"`       //品牌id
	CatelogId   *int    `json:"catelogId" form:"catelogId" gorm:"comment:分类id;column:catelog_id;size:19;"` //分类id
	BrandName   *string `json:"brandName" form:"brandName" gorm:"column:brand_name;size:255;"`             //brandName字段
	CatelogName *string `json:"catelogName" form:"catelogName" gorm:"column:catelog_name;size:255;"`       //catelogName字段
}

// TableName pmsCategoryBrandRelation表 PmsCategoryBrandRelation自定义表名 pms_category_brand_relation
func (PmsCategoryBrandRelation) TableName() string {
	return "pms_category_brand_relation"
}

type PmsCategoryBrandRelationRepo interface {
}

type PmsCategoryBrandRelationUsecase struct {
	repo PmsCategoryBrandRelationRepo
	log  *log.Helper
}

func NewPmsCategoryBrandRelationUsecase(repo GreeterRepo, logger log.Logger) *PmsCategoryBrandRelationUsecase {
	return &PmsCategoryBrandRelationUsecase{repo: repo, log: log.NewHelper(logger)}
}
